home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gold Medal Software 3
/
Gold Medal Software - Volume 3 (Gold Medal) (1994).iso
/
prog
/
dnalib59.arj
/
BSCROLL.BAS
< prev
next >
Wrap
BASIC Source File
|
1994-02-06
|
546b
|
12 lines
SUB BiosScroll(TopRow%,LeftColumn%,BottomRow%,RightColumn%,NumberOfRows%,Direction%,Attr%)PUBLIC
IF Direction% THEN UpDown% = 7 ELSE UpDown% = 6
REG 1, NumberOfRows% + 256 * UpDown% ' Set AX = # of rows
REG 2, Attr% * 256 ' Set BX = Color to use
REG 3, (LeftColumn% - 1) + 256 * (TopRow% - 1) ' Set CX = left and top
REG 4, (RightColumn% - 1) + 256 * (BottomRow% - 1) ' Set DX = right and bot
CALL INTERRUPT &H10 ' Call BIOS service
END SUB